package thread;

 public class MyThreadDemo6 {
    public static void main(String[] args) {
        Thread t1 = new Thread(() -> {
            System.out.println("hello1");
        });

        Thread t2 = new Thread(() ->{
            System.out.println("hello2");
        });


        t2.start();
        t1.start();
    }
}

